/*
 * Copyright (c) 2025/5/5 彭友聪
 * TxtEdit is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2. 
 * You may obtain a copy of Mulan PSL v2 at:
            http://license.coscl.org.cn/MulanPSL2 
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, 
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.  
 * See the Mulan PSL v2 for more details.  
 * 
 * Author: 彭友聪 
 * email：2923616405@qq.com 
 * date: 2025/5/5 08:54
 * file: ${FILE_NAME}
 * product: DevEco Studio
 * */
//
// Created on 2025/5/5.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#include "FileMeta.h"
FileMeta::FileMeta(char *name, char *create_date, char *author, int size){
    this->name = name;
    this->author = author;
    this->create_date = create_date;
    this->size = size;
}
char *FileMeta::getAuthor() { return this->author; }
void FileMeta::setAuthor(char *author) { this->author = author; }
char *FileMeta::getCreate_Date() { return this->create_date; }
void FileMeta::setCreate_Date(char *create_date) { this->create_date = create_date; }
char *FileMeta::getName() { return this->name; }
void FileMeta::setName(char *name) { this->name = name; }
int FileMeta::getSize() { return this->size; }
void FileMeta::setSize(int size) { this->size = size; }